<?php

class tplFiltertab extends StudyBuddy\Template\Template
{
	
	protected static $vars = array(
	'subject' => '', // 1
	'subject_l' => 'All subjects', // 2
	'level' => 'Sec 3&4', // 3
	'level_l' => 'All levels', // 4
	'chapter' => '', // 5
	'chapter_l' => 'All chapters', // 6
	'subjectID' => '0', // 7
	);

	protected static $tpl = '<div id="filtertab" class="styled-select">
								<select name="level">
									<option value="1">%3$s</option>
								</select>
					
								<select name="subject" onchange="oSL.redirectSubject(this.options[this.selectedIndex].value)">
									<option value="">%2$s</option>
									%1$s
								</select>

                                <select name="chapter" onchange="oSL.redirectChapter(%7$s, this.options[this.selectedIndex].value)">
                                    <option value="">%6$s</option>
                                    %5$s
                                </select>
							</div>';
}
